package net.ericaro.neojavagen.expressions ;
import net.ericaro.neojavagen.expressions.FieldAccess;
import net.ericaro.neojavagen.types.Identifier;
import net.ericaro.neojavagen.expressions.Primary ;

/**
* *<pre> PrimaryAccess :
    Primary . Identifier
</pre>
*/
public class PrimaryAccess  implements FieldAccess {

Primary primary;
Identifier identifier ;

public PrimaryAccess( Primary primary, Identifier identifier ){
	this.primary = primary; this.identifier = identifier ;
	}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	stringbuilder.append( this.primary ).append(" ");
stringbuilder.append( "." ).append(" ");
stringbuilder.append( this.identifier ).append(" ") ;
	return stringbuilder.toString();
}

}
